﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EquipmentStockReport.aspx.cs" Inherits="H2.NET.Web.Pages.SMD.EquipmentStockReport" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <style type="text/css">
        .gv_boder {
            width: 100%;
            margin-top: 3px;
        }

       .gv_boder th {
               border:1px solid #2B91D5;
                height: 36px;
                background-color: #1ABDE6;
                color: #F9F9F9;
                font-size: 12pt;
                font-family: Arial;
                font-weight: bold;
                padding-left: 2px;
            }

        .gv_header {
            font-size: 20pt;
            font-family: Arial;
            color: black;
            text-decoration: none;
        }

        .gv_item_alternating_row {
            height: 25px;
            font-size: 9pt;
            font-family: Arial;
            background-color: #F9F9F9;
        }

        .gv_item_row {
            height: 25px;
            font-size: 9pt;
            font-family: Arial;
        }

        .gv_selected_row {
            height: 25px;
            padding-left: 2px;
            font-size: 9pt;
            font-family: Arial;
        }

        .gv_pager {
        }

        .cursor_hand {
            cursor: hand;
        }

        .gv_head_hide {
            display: none;
        }

        .gv_boder a:link{ text-decoration:none !important;}
        .gv_boder a:hover{ text-decoration:underline !important;}

        .txtSty{
            border:1px solid #1196EE;
            height:23px;
            width:90%;
        }

        .tittd {
            font-family:微软雅黑;
            white-space:nowrap;
        }

         .gv_boder td{
             border:1px solid #2B91D5;
             height:30px;
             text-align:center;
         }

         .gv_boder tr:hover{
             background-color:#DEF8FE
         }
         .btnsty{border:1px solid #2B91D5;background-color:#1ABDE6;color:white;  height:34px;}
        .formTable {
         width:100%
        }

        .lbl {
        width:50px;
        }

        .txt {
        width:8%
        }

        .formTable td {
        white-space:nowrap;
        }
    </style>
    <script src="../../Resource/dwz/js/jquery-1.7.2.min.js"></script>
    <script>
        function exportSummary3() {
            $("#exportForm").submit();
        }
    </script>
</head>
<body>

    <form id="formNew" runat="server">

        <table class="formTable" style="border: 1px solid #ccc; padding: 23px">
            <tr>
                <td class="lbl"><asp:Label ID="lblProvince" runat="server" Text="省份"></asp:Label></td>
                <td class="txt"><asp:TextBox ID="txtProvince" runat="server" CssClass="txtSty"></asp:TextBox>&nbsp;&nbsp;</td>
                <td class="lbl"><asp:Label ID="lblCity" runat="server" Text="城市"></asp:Label></td>
                <td class="txt"><asp:TextBox ID="txtCity" runat="server" CssClass="txtSty"></asp:TextBox>&nbsp;&nbsp;</td>
                <td class="lbl" style="width:100px"><asp:Label ID="lbltFixedAsset" runat="server" Text="固定资产号"></asp:Label></td>
                <td class="txt"><asp:TextBox ID="txtFixedAsset" runat="server" CssClass="txtSty"></asp:TextBox>&nbsp;&nbsp;</td>
                <td class="lbl" style="width:100px"><asp:Label ID="lblStore" runat="server" Text="门店名称"></asp:Label></td>
                <td class="txt"><asp:TextBox ID="txtStore" runat="server" CssClass="txtSty"></asp:TextBox>&nbsp;&nbsp;</td>
                    <td class="lbl" style="width:60px"><asp:Label ID="lblAuthorization" runat="server" Text="授权号"></asp:Label></td>
                <td class="txt"><asp:TextBox ID="txtAuthorization" runat="server" CssClass="txtSty"></asp:TextBox>&nbsp;&nbsp;</td>
                <td class="lbl"><asp:Label ID="lblRegion" runat="server" Text="区域"></asp:Label></td>
                <td class="txt"><asp:TextBox ID="txtRegion" runat="server" CssClass="txtSty"></asp:TextBox>&nbsp;&nbsp;</td>
                <td class="lbl"><asp:Label ID="Label1" runat="server" Text="设备流水号"></asp:Label></td>
                <td class="txt"><asp:TextBox ID="txtDeviceEapproveSN" runat="server" CssClass="txtSty"></asp:TextBox>&nbsp;&nbsp;</td>
                <td>&nbsp;<asp:Button ID="btnShow" runat="server" Text="查询" OnClick="btnShow_Click"  CssClass="btnsty" />&nbsp;
                      <asp:Button ID="btnReportClick" runat="server" Text="导出exel"  CssClass="btnsty" OnClick="btnReportClick_Click" /></td>
                  <%-- class="tittd" <input type="button" value="导出exel" onclick="exportSummary3()" class="btnsty"/>--%>

            </tr>
        </table>
        <br />
        <asp:GridView ID="GridView1" runat="server" CssClass="gv_boder" PageSize="10" AllowPaging="True" AllowSorting="True"  OnSorting="gv_rpt_run_report_Sorting">
            <PagerSettings Visible="False" />
            <HeaderStyle ForeColor="#333300" />
            <RowStyle CssClass="gv_item_row" />
            <AlternatingRowStyle CssClass="gv_item_alternating_row" />
            <SelectedRowStyle CssClass="gv_selected_row" />
            <PagerStyle CssClass="gv_pager" />
            <PagerTemplate>
            </PagerTemplate>
        </asp:GridView>
        <asp:Table ID="tblPager" CssClass="table" runat="server" Height="20px" Width="100%">
            <asp:TableRow ID="TableRow1" runat="server" Height="30px">
                <asp:TableCell ID="TableCell1" runat="server" Height="30px" Font-Size="9pt" ForeColor="#6C6B6B" CssClass="TableCell1">
                    <font color="#666666" face="Arial" style="font-size: 9pt">页次: </font>
                    <asp:Label ID="lblPageCurrent" runat="server" Text="1"></asp:Label>/<asp:Label ID="lblPageCount"
                        runat="server" Text="1"></asp:Label><font color="#666666" face="Arial" style="font-size: 9pt">&nbsp;&nbsp;共</font><asp:Label
                            ID="lblPageRow" runat="server" Text="0"></asp:Label><font color="#666666" face="Arial"
                                style="font-size: 9pt">条记录</font>
                    <asp:LinkButton ID="btnGoTo" runat="server" CssClass="link"><font color="#666666" face="Arial" style="font-size: 9pt"><%=clsCmm.getTextValue("frm_gv_list_txtGoTo")%></font></asp:LinkButton>&nbsp;<asp:DropDownList
                        ID="drpGoTo" runat="server" Width="40px" Font-Size="9pt" OnSelectedIndexChanged="drpGoTo_SelectedIndexChanged"
                        AutoPostBack="True">
                    </asp:DropDownList>
                    &nbsp;&nbsp;
                    <asp:LinkButton ID="btnFirst" runat="server" CssClass="link" CommandName="Pager"
                        Font-Underline="false" CommandArgument="First" OnCommand="NavigateToPage"><font color="#666666" face="Arial" style="font-size: 9pt">首页</font></asp:LinkButton>&nbsp;
                    <asp:LinkButton ID="btnPrev" runat="server" CssClass="link" CommandName="Pager" Font-Underline="false"
                        CommandArgument="Prev" OnCommand="NavigateToPage"><font color="#666666" face="Arial" style="font-size: 9pt">前一页</font></asp:LinkButton>&nbsp;
                    <asp:LinkButton ID="btnNext" runat="server" CssClass="link" CommandName="Pager" Font-Underline="false"
                        CommandArgument="Next" OnCommand="NavigateToPage"><font color="#666666" face="Arial" style="font-size: 9pt">下一页</font></asp:LinkButton>&nbsp;
                    <asp:LinkButton ID="btnLast" runat="server" CssClass="link" CommandName="Pager" Font-Underline="false"
                        CommandArgument="Last" OnCommand="NavigateToPage"><font color="#666666" face="Arial" style="font-size: 9pt">尾页</font></asp:LinkButton>&nbsp;&nbsp;
                </asp:TableCell>
            </asp:TableRow>
        </asp:Table>
    </form>
    <form id="exportForm" action="/Pages/SMD/EquipmentStockReport.aspx?action=export" method="post">
    </form>
</body>

</html>
